package org.jeecg.trace.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 工站参数加工值
 * @Author: LiCY
 * @Date:   2023-06-19
 * @Version: V1.0
 */
@Data
@TableName("mes_proc_data_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_proc_data_value对象", description="工站参数加工值")
public class MesProcDataValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    private Long recId;
	/**工件历史ID*/
	@Excel(name = "工件历史ID", width = 15)
    @ApiModelProperty(value = "工件历史ID")
    private Long unithistId;
	/**参数配置*/
	@Excel(name = "参数配置", width = 15)
    @ApiModelProperty(value = "参数配置")
    @Dict(dictTable = "mes_proc_data_cfg", dicText = "DESCRIPTION", dicCode = "REC_ID")
    private Long dataid;
	/**值*/
	@Excel(name = "值", width = 15)
    @ApiModelProperty(value = "值")
    private String value;
	/**检验结果*/
	@Excel(name = "检验结果", width = 15, dicCode = "ProcDataValue_status")
	@Dict(dicCode = "ProcDataValue_status")
    @ApiModelProperty(value = "检验结果")
    private String status;
	/**上限*/
	@Excel(name = "上限", width = 15)
    @ApiModelProperty(value = "上限")
    private BigDecimal lowLimit;
	/**下限*/
	@Excel(name = "下限", width = 15)
    @ApiModelProperty(value = "下限")
    private BigDecimal upLimit;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
